package com.example.springboot.mapper;

import com.example.springboot.controller.request.BaseRequest;
import com.example.springboot.entity.ReturnBook;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ReturnBookMapper {
    List<ReturnBook> list();

    List<ReturnBook> listByCondition(BaseRequest baseRequest);

    void save(ReturnBook returnBook);
    void saves(ReturnBook returnBook);

    ReturnBook getById(Integer id);

    void deleteById(Integer id);

}
